package com.binfenhulian.chinaenergy.ces.core.bean.enums;

/**
 * Created by wanghjbuf on 2018/3/16.
 */
public enum ExceptionDescEnum {

    BASE("exception", "java.lang.Exception", "系统未知错误,操作失败"),
    DB("db-exception", "java.lang.DBException", "DB未知错误,操作失败");

    private String exceptionName;
    private String exceptionClass;
    private String exceptionDesc;

    ExceptionDescEnum(String exceptionName, String exceptionClass, String exceptionDesc){
        this.exceptionName = exceptionName;
        this.exceptionClass = exceptionClass;
        this.exceptionDesc = exceptionDesc;
    }

    public String getExceptionName() {
        return this.exceptionName;
    }

    public String getExceptionClass() {
        return this.exceptionClass;
    }

    public String getExceptionDesc() {
        return this.exceptionDesc;
    }
}
